package cn.buk.tms.dao;

import cn.buk.common.sc.CommonSearchCriteria;
import cn.buk.tms.entity.misc.PaymentOrder;

import java.util.List;

/**
 * @author yfdai
 */
public interface PaymentOrderDao {
	
	
	int create(PaymentOrder order);
	
	PaymentOrder updatePaymentOrderDone(String orderId, int status, String alipayTradeNo, String alipayBuyerEmail, String alipayBuyerId);

	List<PaymentOrder> searchPaymentOrder(int ownerId, int enterpriseId, CommonSearchCriteria sc);
}
